Two-Variable Word Equations
نویسندگان
چکیده
We consider languages expressed by word equations in two variables and give a complete characterization for their complexity functions, that is, the functions that give the number of words of the same length. Speci cally, we prove that there are only ve types of complexities: constant, linear, exponential, and two in between constant and linear. For the latter two, we give precise characterizations in terms of the number of solutions of Diophantine equations of certain types. In particular, we show that the linear upper bound on the non-exponential complexities by Karhum aki et al., cf. [KMP], is tight. There are several consequences of our study. First, we derive that both of the sets of all nite Sturmian words and of all nite Standard words are expressible by word equations. Second, we characterize the languages of non-exponential complexity which are expressible by two-variable word equations as nite unions of several simple parametric formulae and solutions of a two-variable word equation with a nite graph. Third, we nd optimal upper bounds on the solutions of (solvable) two-variable word equations, namely, linear bound for one variable and quadratric for the other. From this, we obtain an O(n6) algorithm for testing the solvability of two-variable word equations, improving thus very much Charatonik and Pacholski's O(n100) algorithm, cf. [ChPa].
منابع مشابه
(Un)Decidability Results for Word Equations with Length and Regular Expression Constraints
We prove several decidability and undecidability results for the satisfiability and validity problems for languages that can express solutions to word equations with length constraints. The atomic formulas over this language are equality over string terms (word equations), linear inequality over the length function (length constraints), and membership in regular sets. These questions are import...
متن کاملWord Equations with Length Constraints: What's Decidable?
We prove several decidability and undecidability results for the satisfiability and validity problems for languages that can express solutions to word equations with length constraints. The atomic formulas over this language are equality over string terms (word equations), linear inequality over the length function (length constraints), and membership in regular sets. These questions are import...
متن کاملEquations in Words : an Algorithmic Contribution
We study the special class of equations in words of type (R,w), where R is a two variable generalized regular expression, without constant, and where w is a constant word. We show that the problem may be solved by applying a O(|w| ln |w|) time algorithm.
متن کاملOperational matrices with respect to Hermite polynomials and their applications in solving linear differential equations with variable coefficients
In this paper, a new and efficient approach is applied for numerical approximation of the linear differential equations with variable coeffcients based on operational matrices with respect to Hermite polynomials. Explicit formulae which express the Hermite expansion coeffcients for the moments of derivatives of any differentiable function in terms of the original expansion coefficients of the f...
متن کاملThe Hardness of Solving Simple Word Equations
We investigate the class of regular-ordered word equations. The sides of such an equation contain both exactly the same variables, occurring in the same order (but separated by potentially distinct constant factors). Surprisingly, we obtain that solving even such simple equations is NP-hard. By considerations regarding the combinatorial structure of the minimal solutions of the more general qua...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2000